package com.yanqu.road.entity.activity.langyamemorial;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_activity_langya_memorial_all_data", desc = "全服祭奠进度")
public class CrossLangYaMemorialAllData extends DataObject {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "全服祭奠值")
    private long buildValue;

    @FieldTypeAnnotation(desc = "变更时间")
    private long updateTime;

    @FieldTypeAnnotation(desc = "总建格次数")
    private long buildTimes;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getBuildValue() {
        return buildValue;
    }

    public void setBuildValue(long buildValue) {
        if(this.buildValue != buildValue) {
            this.buildValue = buildValue;
            setUpdateOption();
        }
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        if(this.updateTime != updateTime) {
            this.updateTime = updateTime;
            setUpdateOption();
        }
    }

    public long getBuildTimes() {
        return buildTimes;
    }

    public void setBuildTimes(long buildTimes) {
        if(this.buildTimes != buildTimes) {
            this.buildTimes = buildTimes;
            setUpdateOption();
        }
    }
}
